const state = {
  fileList:[]
}

const mutations = {
  setFileList (state,fileList) {
    state.fileList = fileList
  }
}

const actions = {
  someAsyncTask ({ commit }) {
    // do something async
    commit('INCREMENT_MAIN_COUNTER')
  }
}

export default {
  state,
  mutations,
  actions
}
